package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.Result;
import com.itheima.pojo.Order;

import java.util.List;
import java.util.Map;
/**
 * 体检预约服务接口
 */
public interface OrderService {
    //体检预约

    public Result order(Map map) throws Exception;

    //根据id查询预约信息，包括体检人信息、套餐信息
    public Map findById(Integer id) throws Exception;


    public PageResult pageQuery(
            Integer currentPage, Integer pageSize, String queryString);

    public void delete(Integer id);

    public void edit(Order order);

    public Order findByOneId(Integer id);

    public List<Order> findAll();

    public void newadd(Order order);

    public void wei(Order order);
}
